
public class xorTest {

	public static void main(String[] args) {
		boolean a=true;
		boolean b=false;
		int i,j=18;
		//if(!a==false)
		//{
		//	System.out.println("a is true");
		//}
		i=j%2==1?2:1;
		System.out.println(i);
		//if(a==b)
		//	System.out.print("equal");
		/*if(a==true | b==true)
			System.out.println(" One of a and b is true.");		
		if(a==true || b==true)
			System.out.println(" One of a and b is true.");	
			*/
		//if(a | b)
		//	System.out.println(" One of a and b is true.");		
		//if(a || b)
		//	System.out.println(" One of a and b is true.");
		//if(a & b)
		//	System.out.println("a & b is true.");
		//if(a && b)
		//	System.out.println("a && b is true.");
		//if(a^b)
		//	System.out.println(" XOR a and b is true.");
		
	}

}
